projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f0ef2f
)
[PATCH] Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K"
author
Aurelien Jarno
<aurelien@aurel32.net>
Wed, 23 Oct 2024 19:28:33 +0000
(21:28 +0200)
committer
Salvatore Bonaccorso
<carnil@debian.org>
Sun, 27 Oct 2024 06:25:33 +0000
(07:25 +0100)
This reverts commit
8396c793ffdf28bb8aee7cfe0891080f8cab7890
.
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name Revert-mmc-dw_mmc-Fix-IDMAC-operation-with-pages-big.patch
drivers/mmc/host/dw_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/dw_mmc.c
b/drivers/mmc/host/dw_mmc.c
index 41e451235f637383bd85595402f0c3c8cbb216a9..e9f6e4e622901a0e1a12544899613c04e7cc5791 100644
(file)
--- a/
drivers/mmc/host/dw_mmc.c
+++ b/
drivers/mmc/host/dw_mmc.c
@@
-2957,8
+2957,8
@@
static int dw_mci_init_slot(struct dw_mci *host)
if (host->use_dma == TRANS_MODE_IDMAC) {
mmc->max_segs = host->ring_size;
mmc->max_blk_size = 65535;
- mmc->max_
req_size = DW_MCI_DESC_DATA_LENGTH * host->ring_size
;
- mmc->max_
seg_size = mmc->max_req
_size;
+ mmc->max_
seg_size = 0x1000
;
+ mmc->max_
req_size = mmc->max_seg_size * host->ring
_size;
mmc->max_blk_count = mmc->max_req_size / 512;
} else if (host->use_dma == TRANS_MODE_EDMAC) {
mmc->max_segs = 64;